GDK/Win32: Fix modal window handling
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 6 Oct 2020 07:06:47 +0000 (15:06 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 16 Oct 2020 01:56:42 +0000 (09:56 +0800)
commitbc142b9c4320a4dabad56f8651d096704ae09623
treeb2955bd4b42bd5b10e1f5501af6cb5231c6e3bc4
parent5bbacc647c0fef2403d6ea3ce26c57939685d5ff
GDK/Win32: Fix modal window handling

Make sure that we get the state of the modal window properly, and send out the
corresponding notification signals.

This will ensure that we do not try to activate windows that should have become
inactivated due to it opening modal windows and render the program unresponsive
because we are not activating the correct window that is due to receive user
input.
gdk/win32/gdksurface-win32.c